/*
==========================================================
Main Class CPP
DevX Team
==========================================================
*/

#include "Board.h"
#define _WIN32_WINNT 0x500
#include <Windows.h>

int main()
{
	COORD coord;
	coord.X = 300;
    coord.Y = 200;
	HWND console = GetConsoleWindow();
	RECT r;
	GetWindowRect(console,&r);//stores current dimensions.
	MoveWindow(console,r.left+25,r.top,1800,700,true);
	SetConsoleScreenBufferSize(console,coord);

	dxBoard chess;
	chess.Draw();
	while( !chess.End() )
	{  
		chess.Input();
		chess.Check();
		chess.Draw();

	}
	return 0;
}